package com.whfc.common.vs.imou.constant;

/**
 * @Description: 乐橙云常量
 * @author: qzexing
 * @version: 1.0
 * @date: 2020/3/13 16:31
 */
public class ImouConstant {

    private ImouConstant() {
    }


    /**
     * 大华停止命令
     */
    public static final Integer PTZ_STOP_CODE = 10;
    /**
     * 大华在线字符串
     */
    public static final String DEVICE_ONLINE_CODE = "online";
    /**
     * 请求成功状态码
     */
    public static final String REQUEST_SUCCESS_CODE = "0";
    /**
     * 乐橙API请求 uri
     */
    private static final String URL = "https://openapi.lechange.cn:443/openapi/";
    /**
     * 获取AccessToken
     */
    public static final String GET_TOKEN_URL = URL + "accessToken";
    /**
     * 创建设备
     */
    public static final String CREATE_DEVICE_URL = URL + "bindDevice";
    /**
     * 删除设备
     */
    public static final String DELETE_DEVICE_URL = URL + "unBindDevice";
    /**
     * 获取设备信息
     */
    public static final String DEVICE_INFO_URL = URL + "bindDeviceChannelInfo";
    /**
     * 获取视频截图
     */
    public static final String DEVICE_SNAPSHOT_URL = URL + "setDeviceSnap";
    /**
     * 启动设备
     */
    public static final String START_DEVICE_URL = URL + "bindDeviceLive";
    /**
     * 获取直播信息
     */
    public static final String STREAM_INFO_URL = URL + "getLiveStreamInfo";
    /**
     * 获取回放记录
     */
    public static final String VIDEO_RECORD_URL = URL + "createCloudRecordHls";
    /**
     * 云台控制
     */
    public static final String DEVICE_PTZ_URL = URL + "controlMovePTZ";
    /**
     * 获取设备通道信息
     */
    public static final String DEVICE_CHANNEL_URL = URL + "queryOpenDeviceChannelInfo";


}
